//
//  CHHotGoodsViewCell.m
//  CHGeneralFramework
//
//  Created by 陈豪 on 2019/12/15.
//  Copyright © 2019 陈豪. All rights reserved.
//

#import "SYChooseImageViewCell.h"

@implementation SYChooseImageViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
}
-(void)setGoogsInfoWithDic:(NSDictionary *)goodsDic{
    
    NSString *imageStr = goodsDic[@"cover"];
    imageStr = [imageStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
    [self.goodsImage sd_setImageWithURL:[NSURL URLWithString:imageStr] placeholderImage:nil];
    self.goodsName.text = [NSString stringWithFormat:@"%@",goodsDic[@"product_name"]];
}
@end
